import React, { Component } from 'react'
import { SearchBar, WhiteSpace, WingBlank } from 'antd-mobile';
//gwx  
//gwx   gwx//gwx  
//gwx   gwx//gwx  
//gwx   gwx
export default class formInput extends Component {
    constructor(props) {
        super(props)
        this.submit = this.submit.bind(this)
    }
    submit(e) {
        console.log(e)

    }
    render() {
        return (
            <div>
                <SearchBar placeholder="输入楼盘名或地址" onCancel={this.submit} cancelText="搜索" onSubmit={this.submit} maxLength={8} />
                <WhiteSpace />
            </div>
        )
    }
}
